Skip to content

Conversation

josephlr
Copy link
Contributor

Redox does not implement setgroups. The current implementation tries
to work around this, but will still fail to build if libc::setgroups is
not defined.

This means libstd cannot compile for Redox. This change fixes this
by using #[cfg(...)] instead of if cfg!(...).

Unblocks #63521

Redox does not implement `setgroups`. The current implementation tries
to work around this, but will still fail to build if libc::setgroups is
not defined.

This means libstd cannot compile for Redox. This change fixes this
by using `#[cfg(...)]` instead of `if cfg!(...)`.
@rust-highfive
Copy link
Contributor

r? @alexcrichton

(rust_highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Aug 19, 2019
@josephlr
Copy link
Contributor Author

Just noticed that this is getting fixed in #63521, closing.

@josephlr josephlr closed this Aug 19, 2019
@josephlr josephlr deleted the redox branch August 19, 2019 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants